﻿
using Microsoft.Identity.Client;

namespace _RobotInspection.DTO
{
    public class InspectionItemDto
    {
    }

    public class InspectionItemInsertDto
    {
        public InspectionItemInsertDto()
        {

        }

        /// <summary>
        /// 设备Id
        /// </summary>
        public long EquipmentId { get; set; }

        /// <summary>
        /// 点检项目名称
        /// </summary>
        public string ItemName { get; set; }

        /// <summary>
        /// 点检项目描述
        /// </summary>
        public string? ItemDescription { get; set; }

        /// <summary>
        /// 点检项目标准值
        /// </summary>
        public string? StandardValue { get; set; }

        /// <summary>
        /// 点检项目标准值单位
        /// </summary>
        public string? Unit {  get; set; }

        /// <summary>
        /// 点检项目排序序号
        /// </summary>
        public int? SortOrder { get; set; }

        /// <summary>
        /// 状态：1-启用，0-禁用
        /// </summary>
        public byte? Status { get; set; }

        /// <summary>
        /// 点检项目类型
        /// </summary>
        public string? ItemProject { get; set; }
    }

    public class InspectionItemUpdateDto
    {
        public InspectionItemUpdateDto()
        {

        }

        /// <summary>
        /// 点检项目id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 设备Id
        /// </summary>
        public long? EquipmentId { get; set; }

        /// <summary>
        /// 点检项目名称
        /// </summary>
        public string? ItemName { get; set; }

        /// <summary>
        /// 点检项目描述
        /// </summary>
        public string? ItemDescription { get; set; }

        /// <summary>
        /// 点检项目标准值
        /// </summary>
        public string? StandardValue { get; set; }

        /// <summary>
        /// 点检项目标准值单位
        /// </summary>
        public string? Unit { get; set; }

        /// <summary>
        /// 点检项目排序序号
        /// </summary>
        public int? SortOrder { get; set; }

        /// <summary>
        /// 状态：1-启用，0-禁用
        /// </summary>
        public byte? Status { get; set; }

        /// <summary>
        /// 点检项目类型
        /// </summary>
        public string? ItemProject { get; set; }
    }
}
